package com.cloud.lan.api.dto.req;

import lombok.Data;

@Data
public class BaseReq {

    public static final String ut = "token";
    public String token;
    private Integer pageIndex = 1;
    private Integer pageSize = 10;
    private String beginDate;
    private String endDate;

    public int getOffset() {
        return pageIndex * pageSize;
    }

    public int getLimit() {
        return pageSize;
    }

}
